scrolledwindow: Remove unused variable
authorBenjamin Otte <otte@redhat.com>
Thu, 2 Oct 2014 12:05:19 +0000 (14:05 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 3 Oct 2014 04:18:06 +0000 (06:18 +0200)
gtk/gtkscrolledwindow.c

index 464d14f586644595f7a591b76364ab5293261164..6a7a8e02bf7b2633fb232b4b8e275e0c2ec26500 100644 (file)
@@ -1627,7 +1627,7 @@ gtk_scrolled_window_draw_overshoot (GtkScrolledWindow *scrolled_window,
                                    cairo_t           *cr)
 {
   GtkWidget *widget = GTK_WIDGET (scrolled_window);
-  GtkAllocation allocation, relative_allocation;
+  GtkAllocation relative_allocation;
   gint overshoot_x, overshoot_y;
   cairo_pattern_t *pattern;
   GtkStyleContext *context;
@@ -1642,7 +1642,6 @@ gtk_scrolled_window_draw_overshoot (GtkScrolledWindow *scrolled_window,
   cairo_push_group (cr);
   cairo_set_operator (cr, CAIRO_OPERATOR_LIGHTEN);
 
-  gtk_widget_get_allocation (widget, &allocation);
   gtk_scrolled_window_relative_allocation (widget, &relative_allocation);
 
   context = gtk_widget_get_style_context (widget);